package com.csnf.hymall.entity;

import java.io.Serializable;

/**
 * 地址实体类
 *
 * @author 好有经验
 */
public class Address implements Serializable {
    private String address_areaId/*地址ID*/;

    private String address_name/*地址名称*/;

    private String address_regionId/*父级地址ID*/;

    private Address addressRegin;

    public Address() {
    }

    @Override
    public String toString() {
        return "Address{" +
                "address_areaId='" + address_areaId + '\'' +
                ", address_name='" + address_name + '\'' +
                ", address_regionId=" + address_regionId +
                '}';
    }

    public Address(String address_areaId, String address_name, String address_regionId, Address addressRegin) {
        this.address_areaId = address_areaId;
        this.address_name = address_name;
        this.address_regionId = address_regionId;
        this.addressRegin = addressRegin;
    }

    public String getAddress_areaId() {
        return address_areaId;
    }

    public Address setAddress_areaId(String address_areaId) {
        this.address_areaId = address_areaId;
        return this;
    }

    public String getAddress_name() {
        return address_name;
    }

    public Address setAddress_name(String address_name) {
        this.address_name = address_name;
        return this;
    }

    public String getAddress_regionId() {
        return address_regionId;
    }

    public Address setAddress_regionId(String address_regionId) {
        this.address_regionId = address_regionId;
        return this;
    }

    public Address getAddressRegin() {
        return addressRegin;
    }

    public Address setAddressRegin(Address addressRegin) {
        this.addressRegin = addressRegin;
        return this;
    }
}
